package com.artifact.mit.mypoint.model.api;

import java.io.Serializable;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;


public class Catalogue extends BaseApiModel {
	
	@JsonProperty(value = "Token")
	private String token;
	
	@JsonProperty(value = "Catalogues")
	private CatalogueDetail[] catalogueDetails;
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class CatalogueDetail implements Serializable {
		
		private static final long serialVersionUID = 260283917486465192L;

		@JsonProperty(value = "ID")
		private String id;
		
		@JsonProperty(value = "dpName")
		private String dpName;
		
		@JsonProperty(value = "ctName")
		private String ctName;

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getDpName() {
			return dpName;
		}

		public void setDpName(String dpName) {
			this.dpName = dpName;
		}

		public String getCtName() {
			return ctName;
		}

		public void setCtName(String ctName) {
			this.ctName = ctName;
		}
		
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public CatalogueDetail[] getCatalogueDetails() {
		return catalogueDetails;
	}

	public void setCatalogueDetails(CatalogueDetail[] catalogueDetails) {
		this.catalogueDetails = catalogueDetails;
	}
	
}
